package com.online_vote_system.demo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 比赛表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Competition {
    @TableId(value = "com_id",type = IdType.AUTO)
    private Integer comId;
    private String comName;
    private Player playerId_1;
    private Player playerId_2;
    private String score1;
    private String score2;
    private String type;
}
